<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <head>jQuery静态方法holdReady方法</head>
        <script src="http://code.jquery.com/jquery-1.12.4.js" 
        integrity="sha256-Qw82+bXyGq6MydymqBxNPYTaUXXq7c8v3CwiYwLLNXU="
        crossorigin="anonymous"></script>
        <script>
            //$.holdReady(true) 作用：暂停ready执行
            $.holdReady(true);
            $(document).ready(function (param) {
                alert("ready");
              });
        </script>
    </head>
    <body>
        <button>恢复ready事件</button>
        <script>
            var btn=document.getElementsByTagName("button")[0];
            btn.onclick=function(){
                $.holdReady(false);
            };
        </script>
    </body>
</html>